package com.xiaoshuidi.cloud.module.rooms.controller.admin.roomentrust.vo;

import com.xiaoshuidi.cloud.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "获取委托列表请求对象")
public class RoomEntrustPageReqVO extends PageParam {
    @Schema(description = "业主来源")
    private String source;

    @Schema(description = "开始日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate beginDate;

    @Schema(description = "结束日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDate;

    @Schema(description = "状态0:待指派1:跟进中2已完成3已去电4已看房5已推迟6已无效7已签约8已放弃 9进行中 10已完成")
    private String status;

    @Schema(description = "关键词")
    private String keyWord;
}
